package com.sky.service.user;


import com.sky.pojo.AddressBook;
import com.sky.result.Result;

import java.util.List;

public interface AddressBookService {

    List<AddressBook> list(AddressBook addressBook);

    void save(AddressBook addressBook);

    AddressBook getById(Long id);

    void update(AddressBook addressBook);

    void setDefault(AddressBook addressBook);

    void deleteById(Long id);

    Result<String> getgetEstimatedDeliveryTime(Integer shopId, String customerAddress);
}